<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello JS</title>

    <script> document.write("Hello World")</script>
</head>
<body>

<br/>

<script>


    var i=10;
    var j=10;
    var sum=i+j;

//    document.write(sum)

    var str="Hello";
    var arr=[1,2,3,4,5];
    var arr2=new Array(1,2,3,4);
    var arr3=new Array();
    var i=10;

    arr3[0]="item1";
    arr3[1]="item2";
    arr3[2]="item3";

    document.write(arr2[2]);
    document.write("<br/>")
    document.write(arr3[2])

</script>

<br/>

<script>document.write("Hello CY")</script>

<br/>

<script src="hello.js"></script>

</body>
</html>